home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / General / MPW Play Tool / *Read Me
Text File  |  1994-04-01  |  2KB  |  69 lines

  1. #*****************************************************************
  2. #    Play v1.0.0
  3. #    and Sound Package for MPW
  4. #*****************************************************************
  5. #    v1.0.0 -- 31 Mar 94; Initial release
  6. #*****************************************************************
  7. #    ©1994, Gregory E. Allen <gallen@arlut.utexas.edu>
  8. #    These files may be distributed freely for non-profit use,
  9. #    as long as this file accompanies them.
  10. #*****************************************************************
  11.  
  12. mpw-play-tool-100.sit.hqx
  13.  
  14. Play v1.0.0 Tool for MPW, and Sound Package for MPW.
  15. Gregory E. Allen <gallen@arlut.utexas.edu>
  16.  
  17. The "Play" Tool plays System 7 Finder Sounds from MPW.
  18.  
  19. This package also includes scripts for MPW Startup and Quit sounds,
  20. and gives instructions on how to modify your BuildProgram script to
  21. have Build Error and Build Complete sounds.
  22.  
  23. This software is free.
  24.  
  25. Please direct questions or comments to <gallen@arlut.utexas.edu>.
  26. If you want the source for the Play tool, just ask.
  27.  
  28.  
  29. •Installation
  30.   -Drag the file in "->Tools" into your "MPW:Tools" folder
  31.     This is the actual Play tool, and will give MPW
  32.      the ability to play System 7 Finder Sounds.
  33.   -Drag the files in "->MPW" into your "MPW" folder
  34.     This adds the capability of Startup and Quit sounds.
  35.     These sounds are in the "MPW:Sounds" folder, and
  36.      you can put any sound you desire....
  37.   -Modify the BuildProgram script as directed below
  38.     This adds the BuildError sound.
  39.   -Simply add the BuildComplete sound to your makefiles
  40.      as you wish, like the example below.
  41.  
  42.  
  43. •Modification of the BuildProgram script
  44. Open the BuildProgram script in "MPW:Scripts".
  45. Find the line that looks like:
  46. "{program}".makeout
  47.  
  48. And replace it with the following two lines
  49. "{program}".makeout ∂
  50. || ( Play "{Sounds}BuildError"; Exit )    # this line added for failure sound
  51.  
  52. Now the sound BuildError will play whenever Build encounters an error.
  53.  
  54.  
  55. •Using BuildComplete in makefiles
  56.     Simply add the line to play BuildComplete to your makefile
  57.      as the last step in the build process.
  58.  
  59.     foo ƒƒ {OBJS}
  60.         Link {OBJS}
  61.         Play "{Sounds}BuildComplete"
  62.  
  63.  
  64. NOTE: The Play tool has known problems with PB170.  I haven't tried it on
  65. other PowerBooks.
  66.  
  67. Enjoy!,
  68. -Greg
  69.